Part Number Hot Search : 
BA6287 325DIE2 B06N03 MAX1947 8295A 8V2LT AHYBA 1N957B
Product Description
Full Text Search
 

To Download MX919B Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  communication semiconductors MX919B data bulletin 4-level fsk modem data pump ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. preliminary information features applications ? 4-level root raised cosine fsk modulation ? half duplex, 4800 to 19.2kbps ? increase channel bit rate/hz ? full data packet framing ? impulse and nrz signal modes ? enhanced performance in noisy conditions ? error detection and error correction ? low power 3.3v/5.0v operation ? wireless data terminals ? two way paging systems ? digital radio systems ? wide area wireless data broadcasts ? point to point wireless data links modem data pump MX919B analog tx data and control bus analog rx rf radio discriminator modulator system application processing host c the MX919B is a low voltage cmos device containing all of the baseband signal processing and medium access control (mac) protocol functions required for a high performance 4-level fsk wireless packet data modem. it interfaces with the modem host c and the radio modulation/demodulation circuits to deliver reliable two-way transfer of the application data over a wireless link. the MX919B assembles application data received from the host c, adds forward error correction (fec) and error detection (crc) information, and interleaves the result for burst-error protection. after automatically adding symbol and frame sync codewords, the data packet is converted into filtered 4-level analog signals for modulating the radio transmitter. in receive mode, the MX919B performs the reverse function using the analog signals from the receiver discriminator. after error correction and removal of the packet overhead, the recovered application data is supplied to the host c. crc detected residual uncorrected data errors will be flagged. a readout of the snr value during receipt of a packet is also provided. the MX919B uses data block sizes and fec/crc suitable for applications where high-speed transfer of data over narrow-band wireless links is required. the device is programmable to operate at standard bit rates from a wide range of xtal/clock frequencies. the MX919B may be used with a 3.0v to 5.5v power supply and is available in the following package styles: 24-pin ssop (MX919Bds), 24-pin soic (MX919Bdw), 24-pin plcc (MX919Blh), and 24-pin pdip (MX919Bp).
4-level fsk modem data pump page 2 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. contents section page 1. block diagram ............................................................................................................... 6 2. signal list .................................................................................................................... .. 7 3. external components ................................................................................................... 8 4. general description ...................................................................................................... 9 4.1 description of blocks ......................................................................................................... 9 4.1.1 data bus buffers............................................................................................................... ...... 9 4.1.2 address and r/w decode ...................................................................................................... 9 4.1.3 status and data quality registers.......................................................................................... 9 4.1.4 command, mode, and control registers ............................................................................... 9 4.1.5 data buffer.................................................................................................................... .......... 9 4.1.6 crc generator/checker ........................................................................................................ 9 4.1.7 fec generator/checker ......................................................................................................... 9 4.1.8 interleave/de-interleave buffer............................................................................................... 9 4.1.9 frame sync detect .............................................................................................................. ... 9 4.1.10 rx input amp ................................................................................................................... ..... 10 4.1.11 rrc low pass filter ............................................................................................................ 10 4.1.12 tx output buffer............................................................................................................... ..... 11 4.1.13 rx level/clock extraction..................................................................................................... 1 2 4.1.14 clock oscillator and dividers................................................................................................ 12 4.2 modem - c interaction ................................................................................................... 12 4.3 binary to symbol translation ........................................................................................... 13 4.4 frame structure............................................................................................................... 1 4 4.5 the programmer?s view................................................................................................... 15 4.5.1 data block buffer .............................................................................................................. .... 15 4.5.2 command register ............................................................................................................... 15 4.5.2.1 command register b7: aqsc - acquire symbol clock ................................................ 16 4.5.2.2 command register b6: aqlev - acquire receive signal levels ................................. 16 4.5.2.3 command register b5: crc ........................................................................................ 16 4.5.2.4 command register b4: tximp - tx level/impulse shape ............................................ 16 4.5.2.5 command register b3 - reserved ................................................................................ 16 4.5.2.6 command register b2, b1, b0: task........................................................................... 16 4.5.2.7 null: no effect .............................................................................................................. 18 4.5.2.8 sfsh: search for frame sync plus header block ........................................................ 18 4.5.2.9 rhb: read header block............................................................................................... 18 4.5.2.10 rilb: read 'intermediate' or 'last' block ....................................................................... 18 4.5.2.11 sfs: search for frame sync ......................................................................................... 18 4.5.2.12 r4s: read 4 symbols .................................................................................................... 19 4.5.2.13 t24s: transmit 24 symbols ........................................................................................... 19 4.5.2.14 thb: transmit header block.......................................................................................... 19 4.5.2.15 tib: transmit intermediate block ................................................................................... 20 4.5.2.16 tlb: transmit last block ............................................................................................... 20
4-level fsk modem data pump page 3 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. 4.5.2.17 t4s: transmit 4 symbols ............................................................................................... 20 4.5.2.18 reset: stop any current action .................................................................................... 20 4.5.2.19 task timing .................................................................................................................... 20 4.5.2.20 rrc filter delay............................................................................................................. 21 4.5.3 control register ............................................................................................................... ..... 22 4.5.3.1 control register b7, b6: ckdiv - clock division ratio ................................................. 22 4.5.3.2 control register b5, b4: fstol - frame sync tolerance to inexact matches............. 22 4.5.3.3 control register b3, b2: levres - level measurement modes .................................. 23 4.5.3.4 control register b1, b0: pllbw - phase-locked loop bandwidth modes .................. 23 4.5.4 mode register.................................................................................................................. ..... 24 4.5.4.1 mode register b7: irqen - irq output enable ......................................................... 24 4.5.4.2 mode register b6: invsym - invert symbols................................................................ 24 4.5.4.3 mode register b5: rx tx/ - tx/rx mode ...................................................................... 24 4.5.4.4 mode register b4: rxeye - show rx eye.................................................................... 25 4.5.4.5 mode register b3: psave - powersave........................................................................ 25 4.5.4.6 mode register b2, b1, b0 .............................................................................................. 25 4.5.5 status register ................................................................................................................ ..... 26 4.5.5.1 status register b7: irq - interrupt request .................................................................. 26 4.5.5.2 status register b6: bfree - data block buffer free.................................................... 26 4.5.5.3 status register b5: ibempty - interleave buffer empty............................................... 26 4.5.5.4 status register b4: dibovf - de-interleave buffer overflow ....................................... 26 4.5.5.5 status register b3: crcerr - crc checksum error.................................................. 27 4.5.5.6 status register b2, b1, b0............................................................................................. 27 4.5.6 data quality register.......................................................................................................... .. 27 4.6 crc, fec, and interleaving............................................................................................. 27 4.6.1 cyclic redundancy codes.................................................................................................... 27 4.6.1.1 crc1 ........................................................................................................................... ... 27 4.6.1.2 crc2 ........................................................................................................................... ... 28 4.6.1.3 forward error correction................................................................................................ 28 4.6.1.4 interleaving ................................................................................................................... .. 28 4.7 transmitted symbol shape.............................................................................................. 28 5. application................................................................................................................... 3 0 5.1 transmit frame example................................................................................................. 30 5.2 receive frame example.................................................................................................. 33 5.3 clock extraction and level measurement systems.......................................................... 36 5.3.1 supported types of systems................................................................................................ 36 5.3.2 clock and level acquisition procedures with rf carrier detect ......................................... 36 5.3.3 clock and level acquisition procedure without rf carrier detect ...................................... 36 5.3.4 automatic acquisition functions........................................................................................... 37 5.4 ac coupling.................................................................................................................... .37 5.5 radio performance .......................................................................................................... 39 5.6 received signal quality monitor ...................................................................................... 40
4-level fsk modem data pump page 4 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. 6. performance specification ......................................................................................... 41 6.1 electrical performance..................................................................................................... 41 6.1.1 absolute maximum ratings .................................................................................................. 41 6.1.2 operating limits............................................................................................................... ..... 41 6.1.3 operating characteristics ..................................................................................................... 4 2 6.1.3.1 operating characteristics notes: ................................................................................... 42 6.1.4 timing ......................................................................................................................... .......... 43 6.1.5 typical bit error rate......................................................................................................... ... 45 6.2 packaging...................................................................................................................... .. 46 mx-com, inc. reserves the right to change specifications at any time and without notice
4-level fsk modem data pump page 5 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. figures figure page figure 1: block diagram ....................................................................................................... .............................. 6 figure 2: recommended external components ..................................................................................... ........... 8 figure 3: typical modem c connections .......................................................................................................... 9 figure 4: translation of binary data to filtered 4-level symbols in tx mode................................................. 10 figure 5: rrc filter frequency response vs. bit rate (including the external rc filter r4/c5).................... 11 figure 6: rrc filter frequency response vs. symbol rate (including the external rc filter r4/c5)............ 11 figure 7: over-air signal format .............................................................................................. ....................... 14 figure 8: alternative frame structures ........................................................................................ .................... 15 figure 9: transmit task overlapping ........................................................................................... .................... 17 figure 10: receive task overlapping ........................................................................................... ................... 17 figure 11: transmit task timing diagram ....................................................................................... ................ 21 figure 12: receive task timing diagram ........................................................................................ ................ 21 figure 13: rrc low pass filter delay.......................................................................................... ................... 21 figure 14: ideal 'rxeye' signal............................................................................................... ........................ 25 figure 15: typical data quality reading vs s/n ................................................................................ .............. 27 figure 16: input signal to rrc filter in tx mode for tximp = 0 and 1 .......................................................... .28 figure 17: tx signal eye tximp = 0 ............................................................................................ .................... 29 figure 18: tx signal eye tximp = 1 ............................................................................................ .................... 29 figure 19: transmit frame example flowchart, main program ..................................................................... .31 figure 20: tx interrupt service routine ....................................................................................... .................... 32 figure 21: receive frame example flowchart, main program ....................................................................... .34 figure 22: rx interrupt service routine ....................................................................................... ..................... 35 figure 23: acquisition sequence timing........................................................................................ .................. 36 figure 24: effect of ac coupling on ber (without fec) ......................................................................... ........ 37 figure 25: decay time - ac coupling........................................................................................... ................... 38 figure 26: typical connections between radio and MX919B....................................................................... .. 39 figure 27: received signal quality monitor flowchart .......................................................................... .......... 40 figure 28: c parallel interface timings................................................................................................... ....... 44 figure 29: typical bit error rate with and without fec ........................................................................ ......... 45 figure 30: 24-pin soic mechanical outline: order as part no. MX919Bdw ................................................. 46 figure 31: 24-pin ssop mechanical outline: order as part no. MX919Bds ................................................. 46 figure 32: 24-pin plcc mechanical outline : order as part no. MX919Blh ................................................. 47 figure 33: 24-pin pdip mechanical outline: order as part no. MX919Bp ..................................................... 47
4-level fsk modem data pump page 6 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. 1. block diagram v ss v bias xtal / clock txout rxin rx input amp tx output buffer doc1 doc2 d0 d1 d2 d3 d4 d5 d6 d7 a0 a1 8 tx tx symbols rx symbols tx rx tx rx rxeye v bias controller interface data bus buffers address and r/w decode crc generator/ checker frame sync detect rx level/clock extraction fec encoder/ decoder interleave/ de-interleave control register mode register command register data buffer status register data quality register rrc low pass filter clock oscillator and dividers rxampout v dd xtal wr rd cs irq v dd v bias rx figure 1: block diagram
4-level fsk modem data pump page 7 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. 2. signal list pin no. signal type description 1 irq output a 'wire-orable' output for connection to the host c's interrupt request input. when active, this output has a low impedance pull down to v ss . it has high impedance when inactive. 2 d7 bus 3 d6 bus 4 d5 bus 5 d4 bus 6 d3 bus 7 d2 bus 8 d1 bus 9 d0 bus pins 2-9 (d7-d0) are 8-bit, bi-directional, 3-state c interface data lines 10 rd input read. an active low logic level input used to control the reading of data from the modem into the host c. 11 wr input write. an active low logic level input used to control the writing of data into the modem from the host c. 12 v ss power negative supply (ground). 13 cs input chip select. an active low logic level input to the modem used to enable a data read or write operation. 14 a0 input logic level modem register select input 15 a1 input logic level modem register select input 16 xtal output output of the on-chip oscillator. 17 xtal/clock input input to the on-chip oscillator, for an external xtal circuit or clock. 18 doc2 output connection to the rx level measurement circuitry. should be capacitive coupled to v ss . 19 doc1 output connection to the rx level measurement circuitry. should be capacitive coupled to v ss 20 txout output tx signal output from the modem. 21 v bias output a bias line for the internal circuitry held at v dd /2. this pin must be bypassed to v ss by a capacitor mounted close to the device pins. 22 rxin input input to the rx input amplifier. 23 rxampout output output of the rx input amplifier. 24 v dd power positive supply. levels and voltages are dependent upon this supply. this pin should be bypassed to v ss by a capacitor mounted close to the device pins. table 1: signal list
4-level fsk modem data pump page 8 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. 3. external components doc1 doc2 v dd v dd v ss v bias rxin from rx fm discriminator to tx frequency modulator rxampout r2 r4 r1 contr oller interf ace MX919B txout c7 c5 c3 c4 r3 x1 c6 c8 c2 d7 d6 d5 d4 d3 d2 d1 d0 a0 a1 a1 a0 xtal/clock xtal/clock 1 2 3 4 5 6 8 9 10 11 12 13 14 7 24 23 22 21 20 19 18 17 17 16 16 15 irq xtal xtal rd wr cs cs c1 figure 2: recommended external components component notes value tolerance component notes value tolerance r1 3 20% c4 3 20% r2 100k ? 5% c5 4 5% r3 1m ? 20% c6 5 20% r4 100k ? 5% c7 5 20% c1 0.1f 20% c8 4 5% c2 0.1f 20% c3 3 20% x1 2,3 table 2: recommended external components recommended external component notes: 1. see section 4.1.10. 2. for best results, a crystal oscillator design should drive the clock inverter input with signal levels of at least 40% of v dd , peak to peak. tuning fork crystals generally cannot meet this requirement. to obtain crystal oscillator design assistance, consult your crystal manufacturer. 3. the values used for c3 and c4 should be suitable for the frequency of the crystal x1. as a guide, values (including stray capacitance) of 33pf at 1mhz falling to 18pf at 10mhz will generally prove suitable. crystal frequency tolerances are discussed in section 4.5.3.4. 4. values c5 and c8 should be equal to 750,000 / symbol rate, e.g. 5. values c6 and c7 should be equal to 50,000 / symbol rate, e.g. symbol rate c5 and c8 symbol rate c6 and c7 2400 symbols/second 330pf 2400 symbols/second 0.022f 4800 symbols/second 150pf 4800 symbols/second 0.01f 9600 symbols/second 82pf 9600 symbols/second 4700pf
4-level fsk modem data pump page 9 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. 4. general description 4.1 description of blocks 4.1.1 data bus buffers eight bi-directional 3-state logic level buffers between the modem's internal registers and the host c's data bus lines. 4.1.2 address and r/w decode this block controls the transfer of data bytes between the c and the modem's internal registers according to the state of the write and read enable inputs ( wr and rd ), the chip select input ( s c ), and the register address inputs a0 and a1. the data bus buffers, address, and r/w decode blocks provide a byte-wide parallel c interface, which can be memory-mapped, as shown in figure 3. address bus c modem wr rd cs rd address decode circuit data bus irq v dd d0:7 a0:1 wr irq pull up resistor d0:7 irq a2:7 a0:1 figure 3: typical modem c connections 4.1.3 status and data quality registers two, 8-bit registers which the c can read, to determine the status of the modem and received data quality. 4.1.4 command, mode, and control registers the values written by the c to these 8-bit registers control the operation of the modem. 4.1.5 data buffer a 12-byte buffer used to hold receive or transmit data to or from the c. 4.1.6 crc generator/checker a circuit which generates (in transmit mode) or checks (in receive mode) the cyclic redundancy checksum bits, which may be included in the transmitted data blocks so the receive modem can detect transmission errors. 4.1.7 fec generator/checker in transmit mode, this circuit adds forward error correction bits to the transmitted data, resulting in the conversion of binary data to 4-level symbols. in receive mode, this circuit translates received 4-level symbols to binary data, using the fec information to correct a large proportion of transmission errors. 4.1.8 interleave/de-interleave buffer this circuit interleaves data symbols within a block before transmission and de-interleaves the received data so that the fec system is best able to handle short noise bursts or fades. 4.1.9 frame sync detect this circuit, which is only active in receive mode, is used to look for the 24-symbol frame synchronization pattern that is transmitted to mark the start of every frame.
4-level fsk modem data pump page 10 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. 4.1.10 rx input amp this amplifier allows the received signal input to the modem to be set to the optimum level by suitable selection of the external components r1 and r2. the value of r1 should be calculated to give 0.2 x v dd volts p-p at the rxampout pin for a received '...+3 +3 -3 -3 ...' sequence. a capacitor may be placed in series with r1 if ac coupling of the received signal is desired (see section 5.4), otherwise the dc level of the received signal should be adjusted so that the signal at the modem's rxampout pin is centered around v bias (v dd /2). 4.1.11 rrc low pass filter this filter, which is used in both transmit and receive modes, is a linear-phase lowpass filter with a 'root raised cosine' frequency response defined by: rate symbol 1 = t 0.2, = b where 2t b + 1 > f for 0 = ) f ( h 2t b + 1 < f < 2t b - 1 for 2 b ) 2 - tf ( sin - 2 1 = ) f ( h 2t b - 1 < f < 0 for 1 = ) f ( h this frequency response is illustrated in figure 5 and figure 6. in transmit mode, the 4-level symbols are passed through this filter to eliminate the high frequency components which would otherwise cause interference into adjacent radio channels. the input applied to the rrc tx filter may be impulses or full-width symbols depending on the setting of the command register tximp bit. see section 4.7 input data binary to symbol transmit filter frequency modulator MX919B modem level coded symbols +3 -1 +1 -3 bit pairs figure 4: translation of binary data to filtered 4-level symbols in tx mode in receive mode, the filter is used to reject hf noise and to equalize the received signal to a form suitable for extracting the 4-level symbols. the equalization characteristics are determined by the setting of the command register tximp bit.
4-level fsk modem data pump page 11 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. 0 -5 -10 -15 -20 -25 -30 0 0.1 0.2 0.3 0.4 0.5 frequency / bit rate db figure 5: rrc filter frequency response vs. bit rate (including the external rc filter r4/c5) 0 -5 -10 -15 -20 -25 -30 0 0.2 0.4 0.6 0.8 1.0 frequency / symbol rate db figure 6: rrc filter frequency response vs. symbol rate (including the external rc filter r4/c5) 4.1.12 tx output buffer this is a unity gain amplifier used in the transmit mode to buffer the output of the tx low pass filter. in receive mode, the input of this buffer is connected to v bias , unless the rxeye bit of the control register is '1', in which case it is connected to the received signal. when changing from rx to tx mode, the input to this buffer will be connected to v bias for 8 symbol times while the rrc filter settles. note: the rc low pass filter formed by the external components r4 and c5 between the txout pin and the input to the radio's frequency modulator forms an important part of the transmit signal filtering. these components may form part of any dc level-shifting and gain adjustment circuitry. the value used for c5 should take into account stray circuit capacitance, and its ground connection should be positioned to give maximum attenuation of high frequency noise into the modulator. the signal at the txout pin is centered around v bias . it is approximately 0.2 x v dd volts p-p for a continuous ?+3 +3 -3 -3...' pattern with tximp = 0. for typical tx eye diagrams refer to section 4.7, figure 17 and figure 18. for typical rx eye diagrams refer to section 4.5.4.4, figure 14. a capacitor may be placed in series with the input to the frequency modulator if ac coupling is desired. see section 5.4.
4-level fsk modem data pump page 12 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. 4.1.13 rx level/clock extraction these circuits, which operate only in receive mode, derive a symbol rate clock from the received signal and measure the received signal amplitude and dc offset. this information is then used to extract the received 4- level symbols and also to provide an input to the received data quality measuring circuit. the external capacitors c6 and c7 form part of the received signal level measuring circuit. the capacitors c6 and c7 are driven from a very high impedance source so any measurement of the voltages on the doc pins must be made via high input impedance (mos input) voltage followers to avoid disturbance of the level measurement circuits. further details of the level and clock extraction functions are given in section 5.3. 4.1.14 clock oscillator and dividers these circuits derive the transmit symbol rate (and the nominal receive symbol rate) by frequency division of a reference frequency which may be generated by the on-chip xtal oscillator or applied from an external source. note: if the on-chip xtal oscillator is to be used, then the external components x1, c3, c4, and r3 are required. if an external clock source is to be used, then it should be connected to the xtal/clock input pin, the xtal pin should be left unconnected, and x1, c3, c4, and r3 should not be installed. 4.2 modem - c interaction in general, data is transmitted over-air in the form of messages, or 'frames', consisting of a 'frame preamble' followed by one or more formatted data blocks. the frame preamble includes a frame synchronization pattern designed to allow the receiving modem to identify the start of a frame. the following data blocks are constructed from the 'raw' data using a combination of crc (cyclic redundancy checksum) generation, forward error correction coding, and interleaving. details of the message formats handled by the modem are provided in section 4.4, figure 7, and figure 8. to reduce the processing load on the associated c, the MX919B modem has been designed to perform as much of the computationally intensive work involved in frame formatting and de-formatting and (when in receive mode) searching for and synchronizing onto the frame preamble. in normal operation, the modem will only require servicing by the c once per received or transmitted block. therefore, to transmit a block, the controlling c needs only to load the unformatted 'raw' binary data into the modem's data block buffer, then instruct the modem to format and transmit that data. the modem will then calculate and add the crc bits as required, encode the result as 4-level symbols (with forward error correction coding), and interleave the symbols before transmission. in receive mode, the modem can be instructed to assemble a block's worth of received symbols, de-interleave the symbols, translate them to binary, perform forward error correction, and check the resulting crc before placing the received binary data into the data block buffer for the c to read. the modem can also handle the transmission and reception of unformatted data using the t4s, t24s, and r4s tasks as described in sections 4.3 and 4.5.2. these tasks are normally used for the transmission of symbol and frame synchronization sequences. these tasks may also be used for the transmission and reception of special test patterns or special data formats. in such a case, care should be taken to ensure that the transmitted txout signal contains enough level and timing information for the receiving modem's level and clock extraction circuits to function correctly. see section 5.3.
4-level fsk modem data pump page 13 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. 4.3 binary to symbol translation although the over-air signal, and therefore the signals at the modem txout and rxin pins, consists of 4- level symbols, the raw data passing between the modem and the c is in binary form. translation between binary data and the 4-level symbols is done in one of two ways, depending on the task being performed. 1. direct way: (simplest form) - converts between 2 binary bits and a single symbol. symbol msb lsb +3 1 1 +1 1 0 -1 0 0 -3 0 1 accordingly, 1 byte = 4 symbols = 8 bits, and one byte translates to four symbols for the t4s and r4s tasks and six bytes translates to twenty-four symbols for the t24s task described in section 4.5.2. msb lsb bits: 7 6 5 4 3 2 1 0 symbols: a b c d send first send last 2. fec way: (more complicated) - essentially translates groups of 3 binary bits to pairs of 4-level symbols using a forward error correcting coding scheme for the block oriented tasks thb, tib, tlb, rhb, and rilb described in section 4.5.2.
4-level fsk modem data pump page 14 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. 4.4 frame structure figure 7 shows how an over-air message frame may be constructed from a sequence of: a symbol sync pattern (preamble), a frame sync pattern, and one or more 'header', 'intermediate' or 'last' blocks. last block crc2 (4 bytes) c binary data stored in MX919B data block memory configured as header, intermediate, or last block by MX919B task being executed. data bytes (8) data bytes (12) 0 1 2 3 4 5 6 7 9 10 11 8 intermediate block header block crc 1 (2 bytes) byte 76 5 4 3 210 76 5 4 3 210 76 5 4 3 210 0 7 0 byte 1 byte 0 byte 0 byte 11 0 1 2 345 29303132 0 64 65 4-level symbols tri-bits 2 1 fec trellis coding / decoding (error correction) interleaving / de-interleaving 7 70 '000' symbol sync frame sync 'header' block intermediate blocks 'last' block 24 66 66 66 66 frame preamble frame -1 +1 +3 -3 +1 +1 +1 -1 -1 -1 -1 3+3 +3 -3 -3 +3 +3 -3 -3 -3 +1 +1 -1 frame sync: sent first over-air signal (symbols) symbol sync: at least 24 symbols of '...+3 +3 -3 -3 ...' sequence last data bytes (10) figure 7: over-air signal format the 'header' block is self-contained and includes its own checksum (crc1). it would normally carry information such as the address of the calling and called parties, the number of following blocks in the frame (if any), and miscellaneous control information. the number of following blocks (if any) is required to allow the rx device software to expect the last block and interpret it as a last block rather than an intermediate block. there is no other indicator to differentiate a last block and an intermediate block. the 'intermediate' block(s) contain only data, the checksum for all of the data in the 'intermediate' and 'last' blocks (crc2) being contained at the end of the 'last' block. this arrangement, while efficient in terms of data capacity, may not be optimum for poor signal-to-noise conditions, since a reception error in any one of the 'intermediate' or 'last' blocks would invalidate the whole frame. in such conditions, increased throughput may be obtained by using the 'header' block format for all blocks of the frame, so blocks that are received correctly can be identified as such, and do not need to be re- transmitted. these, and some other possible frame structures, are shown in figure 8.
4-level fsk modem data pump page 15 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. symbol sync symbol sync symbol sync frame sync frame sync frame sync 'last' block 'header' blocks 'intermediate' blocks 'intermediate' blocks a b c figure 8: alternative frame structures the MX919B performs the entire block formatting and de-formatting required to convert data between c binary form and over-air as shown in figure 7. 4.5 the programmer?s view to the programmer, the modem appears as 4 write only 8-bit registers, shadowed by 3 read only registers. the individual registers are selected by the a0 and a1 chip inputs: a1 a0 write to modem read from modem 0 0 data buffer data buffer 0 1 command register status register 1 0 control register data quality register 1 1 mode register not used note: there is a minimum time allowance between accesses of the modem's registers, see section 6.1.4. 4.5.1 data block buffer this is a 12-byte read/write buffer used to transfer data (as opposed to command, status, mode, data quality or control information) between the modem and the host c. to the c, the data block buffer appears as a single 8-bit register. the modem ensures that sequential c reads or writes to the buffer are routed to the correct locations within the buffer. the c should only access this buffer when the status register bfree (buffer free) bit is '1'. the buffer should only be written to while in tx mode and read from while in rx mode. note that in receive mode, the modem will function correctly even if the received data is not read from the data buffer by the c. 4.5.2 command register writing to this register tells the modem to perform a specific task as indicated by the task bits and modified by the aqsc, aqlev, crc, and tximp bits. 76543210 command register aqsc tximp reserved set to '0' task aqlev crc when there is no action to perform, the modem will be in an 'idle' state. if the modem is in transmit mode, the input to the tx rrc filter will be connected to v bias . in receive mode, the modem will continue to measure the received data quality and extract symbols from the received signal, supplying them to the de-interleave buffer, otherwise these received symbols are ignored.
4-level fsk modem data pump page 16 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. 4.5.2.1 command register b7: aqsc - acquire symbol clock this bit has no effect in transmit mode. in receive mode, when a byte with the aqsc bit set to '1' is written to the command register, and task is not set to reset, it initiates an automatic sequence designed to achieve symbol timing synchronization with the received signal as quickly as possible. this involves setting the phase locked loop of the received bit timing extraction circuits to its widest bandwidth, then gradually reducing the bandwidth as timing synchronization is achieved, until it reaches the 'normal' value set by the pllbw bits of the control register. setting this bit to '0' (or changing it from '1' to '0') has no effect, however; the acquisition sequence will be re- started every time a byte written to the command register has the aqsc bit set to '1'. the use of the symbol clock acquisition sequence is described in section 5.3. 4.5.2.2 command register b6: aqlev - acquire receive signal levels this bit has no effect in transmit mode. in receive mode, when a byte with the aqlev bit set to '1' is written to the command register and task is not set to reset, it initiates an automatic sequence designed to measure the amplitude and dc offset of the received signal as rapidly as possible. this sequence involves setting the measurement circuits to respond quickly at first, then gradually increasing their response time, therefore improving the measurement accuracy, until the 'normal' value set by the levres bits of the control register is reached. setting this bit to '0' (or changing it from '1' to '0') has no effect, however; the acquisition sequence will be re- started every time a byte written to the command register has the aqlev bit set to '1'. the use of the level measurement acquisition sequence (aqlev) is described in section 5.3. 4.5.2.3 command register b5: crc this bit allows the user to select between two different initial states of the crc1 and crc2 checksum generators. when this bit is set to ?0?, the crc generators are initialized to ?all ones? as for ccitt x25 crc calculations. when this bit is set to ?1?, the crc generators are initialized to ?all zeros?. setting this bit to ?0? provides compatibility with the mx919, a prior member of the mx919 device family. other systems may set this bit as required. note: this bit must be set correctly every time the command register is written to. 4.5.2.4 command register b4: tximp - tx level/impulse shape this bit allows the user to choose between two transmit symbol waveform shapes as described in section 4.7. note: this bit must be set correctly every time the command register is written to. 4.5.2.5 command register b3 - reserved this bit should always be set to '0'. 4.5.2.6 command register b2, b1, b0: task operations such as transmitting or receiving a data block are treated by the modem as 'tasks' and are initiated when the c writes a byte to the command register with the task bits set to anything other than the 'null' code. the c should not write a task (other than null or reset) to the command register or write to or read from the data buffer when the bfree (buffer free) bit of the status register is '0'. different tasks apply in receive and transmit modes. when the modem is in transmit mode, all tasks other than null or reset instruct the modem to transmit data from the data buffer, formatting it as required. the c should therefore wait until the bfree (buffer free) bit of the status register is '1', before writing the data to the data block buffer, then it should write the desired task to the command register. if more than 1 byte needs to be written to the data block buffer, byte number 0 of the block should be written first. once the byte containing the desired task has been written to the command register, the modem will: set the bfree (buffer free) bit of the status register to '0'. take the data from the data block buffer as quickly as it can - transferring it to the interleave buffer for eventual transmission. this operation will start immediately if the modem is 'idle' (i.e. not transmitting data from a previous task), otherwise it will be delayed until there is sufficient room in the interleave buffer. once all of the data has been transferred from the data block buffer, the modem will set the bfree and irq bits of the status register to '1', (causing the chip irq output to go low if the irqen bit of the mode register has been set to '1') to tell the c that it may write new data and the next task to the modem. this lets the c write the next task and its associated data to the modem while the modem is still transmitting the data from its previous task.
4-level fsk modem data pump page 17 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. txout signal from task 1 from task 2 task 1 data task 2 data data from c to block buffer task from c to command register irq bit of status register bfree bit of status register irq output (irqen = '1') figure 9: transmit task overlapping when the modem is in receive mode, the c should wait until the bfree bit of the status register is '1', then write the desired task to the command register. once the byte containing the desired task has been written to the command register, the modem will: set the bfree bit of the status register to '0'. wait until enough received symbols are in the de-interleave buffer. decode them as needed and transfer the resulting binary data to the data block buffer then the modem will set the bfree and irq bits of the status register to '1', (causing the irq output to go low if the irqen bit of the mode register has been set to '1') to tell the c that it may read from the data block buffer and write the next task to the modem. if more than 1 byte is contained in the buffer, byte number 0 of the data will be read out first. in this way, the c can read data and write a new task to the modem while the received symbols needed for this new task are being received and stored in the de-interleave buffer. rxin signal for task 1 for task 2 irq output (irqen = '1') irq bit of status register bfree bit of status register task 1 task 2 task 1 data data from block buffer to c task from c to command register figure 10: receive task overlapping detailed timings for the various tasks are provide in figure 11 and figure 12.
4-level fsk modem data pump page 18 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. MX919B modem tasks: b2 b1 b0 receive mode transmit mode 0 0 0 null null 0 0 1 sfsh search for fs + header t24s transmit 24 symbols 0 1 0 rhb read header block thb transmit header block 0 1 1 rilb read intermediate or last block tib transmit intermediate block 1 0 0 sfs search for frame sync tlb transmit last block 1 0 1 r4s read 4 symbols t4s transmit 4 symbols 1 1 0 null null 1 1 1 reset cancel any current action reset cancel any current action 4.5.2.7 null: no effect this 'task' is provided so an aqsc or aqlev command can be initiated without loading a new task. 4.5.2.8 sfsh: search for frame sync plus header block this task causes the modem to search the received signal for a valid 24-symbol frame sync sequence followed by header block which has a correct crc1 checksum. the task continues until a valid frame sync plus header block has been found. the search consists of two stages: first the modem will attempt to match the incoming symbols against the 24-symbol frame synchronization pattern to within the tolerance defined by the fstol bits of the control register. once a match has been found, the modem will read in the next 66 symbols as if they were a 'header' block, decoding the symbols and checking the crc1 checksum. if this is incorrect, the modem will resume the search, looking for a fresh frame sync pattern. if the received crc1 is correct, the 10 decoded data bytes will be placed into the data block buffer, the bfree and irq bits of the status register will be set to '1' and the crcerr bit cleared to '0'. once detecting that the bfree bit of the status register has gone to '1', the c should read the 10 bytes from the data block buffer and then write the next task to the modem's command register. 4.5.2.9 rhb: read header block this task causes the modem to read the next 66 symbols as a 'header' block, decoding them, placing the resulting 10 data bytes and the 2 received crc1 bytes into the data block buffer, and setting the bfree and irq bits of the status register to '1'. when the task is complete, it indicates that the c may read the data from the data block buffer and write the next task to the modem's command register. the crcerr bit of the status register will be set to '1' or '0' depending on the validity of the received crc1 checksum bytes. 4.5.2.10 rilb: read 'intermediate' or 'last' block this task causes the modem to read the next 66 symbols as an 'intermediate' or 'last' block (the c should be able to tell from the 'header' block how many blocks are in the frame and when to expect the 'last' block). in each case, it will decode the 66 symbols and place the resulting 12 bytes into the data block buffer, setting the bfree and irq bits of the status register to '1' when the task is complete. if an 'intermediate' block is received, then the c should read out all 12 bytes from the data block buffer and ignore the crcerr bit of the status register, for a 'last' block the c need only read the first 8 bytes from the data block buffer, and the crcerr bit in the status register will reflect the validity of the received crc2 checksum. 4.5.2.11 sfs: search for frame sync this task causes the modem to search the received signal for a 24-symbol sequence which matches the frame synchronization pattern to within the tolerance defined by the fstol bits of the mode register. when a match is found the modem will set the bfree and irq bits of the status register to '1' to indicate to the c that it should write the next task to the command register.
4-level fsk modem data pump page 19 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. 4.5.2.12 r4s: read 4 symbols this task causes the modem to read the next 4 symbols and translate them directly (without de-interleaving or fec) to an 8-bit byte which is placed into the data block buffer. the bfree and irq bits of the status register are then set to '1' to indicate that the c may read the data byte from the data block buffer and write the next task to the command register. this task is intended for special tests and channel monitoring - perhaps preceded by a sfs task. note: it is possible to construct message formats, which do not rely on the block formatting of the thb, tib, and tlb tasks. this can be accomplished by using t4s or t24s tasks to transmit and r4s to receive the user's data. one should be aware, that the receive level and timing measurement circuits need to see a reasonably 'random' distribution of all four possible symbols in the received signal to operate correctly. accordingly, binary data may benefit from scrambling before transmission if it is not reasonably 'random' to start with. 4.5.2.13 t24s: transmit 24 symbols this task, which is intended to facilitate the transmission of symbol and frame sync patterns as well as special test sequences, takes 6 bytes of data from the data block buffer and transmits them as 24 4-level symbols without any crc or fec. byte 0 of the data block buffer is sent first, byte 5 last. once the modem has read the data bytes from the data block buffer, the bfree and irq bits of the status register will be set to '1', indicating to the c that it may write the data and command byte for the next task to the modem. the tables below show what data needs to be written to the data block buffer to transmit the MX919B symbol and frame sync sequences: values written to data block buffer ?symbol sync? symbols binary hex +3 +3 -3 -3 byte 0: 11110101 f5 +3 +3 -3 -3 byte 1: 11110101 f5 +3 +3 -3 -3 byte 2: 11110101 f5 +3 +3 -3 -3 byte 3: 11110101 f5 +3 +3 -3 -3 byte 4: 11110101 f5 +3 +3 -3 -3 byte 5: 11110101 f5 values written to data block buffer ?frame sync? symbols binary hex -1 +1 -1 +1 byte 0: 00100010 22 -1 +3 -3 +3 byte 1: 00110111 37 -3 -1 +1 -3 byte 2: 01001001 49 +3 +3 -1 +1 byte 3: 11110010 f2 -3 -3 +1 +3 byte 4: 01011011 5b -1 -3 +1 +3 byte 5: 00011011 1b 4.5.2.14 thb: transmit header block this task takes 10 bytes of data (address and control) from the data block buffer, calculates and appends the 2-byte crc1 checksum, translates the result to 4-level symbols (with fec), interleaves the symbols, and transmits the result as a formatted 'header' block. once the modem has read the data bytes from the data block buffer, the bfree and irq bits of the status register will be set to '1'.
4-level fsk modem data pump page 20 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. 4.5.2.15 tib: transmit intermediate block this task takes 12 bytes of data from the data block buffer, updates the 4-byte crc2 checksum for inclusion in the 'last' block, translates the 12 data bytes to 4-level symbols (with fec), interleaves the symbols, and transmits the result as a formatted 'intermediate' block. once the modem has read the data bytes from the data block buffer, the bfree and irq bits of the status register will be set to '1'. 4.5.2.16 tlb: transmit last block this task takes 8 bytes of data from the data block buffer, updates and appends the 4-byte crc2 checksum, translates the resulting 12 bytes to 4-level symbols (with fec), interleaves the symbols, and transmits the result as a formatted 'last' block. once the modem has read the data bytes from the data block buffer, the bfree and irq bits of the status register will be set to '1'. 4.5.2.17 t4s: transmit 4 symbols this command is similar to t24s but takes only one byte from the data block buffer, transmitting it as four 4- level symbols. 4.5.2.18 reset: stop any current action this 'task' takes effect immediately, and terminates any current action (task, aqsc or aqlev) the modem may be performing and sets the bfree bit of the status register to '1', without setting the irq bit. it should be used when v dd is applied, to set the modem into a known state. note: due to delays in the transmit filter, it will take several symbol times for any change to appear at the txout pin. 4.5.2.19 task timing the following table and figures describe the duration of tasks and timing sequences for tx and rx operation. task time (symbol times) t 1 modem idle state. time from writing first task to application of first transmit bit to tx rrc filter. any 1 to 2 t 2 time from application of first symbol of the task to the tx rrc filter until bfree goes to a logic ?1?. t24s thb/tib/tlb t4s 5 16 0 t 3 time to transmit all symbols of the task. t24s thb/tib/tlb t4s 24 66 4 t 4 max time allowed from bfree going to a logic ?1? (high) for next task (and data) to be written to modem. t24s thb/tib/tlb t4s 18 49 3 t 5 time to receive all symbols of task. sfs sfsh rhb/rilb r4s 24 (minimum) 90 (minimum) 66 4 t 6 maximum time between first symbol of task entering the de-interleave circuit and the task being written to modem. sfs sfsh rhb/rilb r4s 21 21 49 3 t 7 maximum time from the last bit of the task entering the de-interleave circuit to bfree going to a logic ?1? (high). any 1
4-level fsk modem data pump page 21 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. from task 2 from task 3 from task 1 t 1 t 2 task to command register data to data block buffer t 3 t 4 modem tx output 12 1 2 symbols to rrc filter 3 ibempty bit bfree bit 3 t 2 t 2 t 3 t 3 t 4 t 4 figure 11: transmit task timing diagram for task 2 for task 3 for task 1 task to command register data from data block buffer modem rx input 12 1 2 symbols to de-interleave circuit 3 bfree bit 3 t 5 t 6 t 7 t 5 t 5 t 5 t 6 t 6 t 7 t 7 figure 12: receive task timing diagram 4.5.2.20 rrc filter delay the previous task timing figures are based on the signal at the input to the rrc filter (in transmit mode) or the input to the de-interleave buffer (in receive mode). there is an additional delay of about 8 symbol times through to the rrc filter in both transmit and receive modes, as illustrated below: delay from rx input (from fm discriminator) to interpreted data in internal buffer. rx symbol to de-interleave buffer tx symbol at txout pin / rx symbol from fm discriminator symbol-times tx symbol to rrc filter delay from tx input symbol to txout response. figure 13: rrc low pass filter delay
4-level fsk modem data pump page 22 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. 4.5.3 control register this 8-bit write-only register controls the modem's symbol rate, the response times of the receive clock extraction, signal level measurement circuits, and the frame sync pattern recognition tolerance to inexact matches. 76543210 control register fstol levres pllbw ckdiv 4.5.3.1 control register b7, b6: ckdiv - clock division ratio these bits control a frequency divider driven from the clock signal present at the xtal pin, therefore determining the nominal symbol rate. because each symbol represents two bits, bit rates are 2x the symbol rates. the table below shows how symbol rates of 2400/4800/9600 symbols/sec (4800/9600/19200bps) may be obtained from common xtal frequencies: xtal frequency (mhz) 2.4576 4.9152 9.8304 b7 b6 division ratio: xtal frequency/symbol rate symbol rate (symbols/sec) / bit rate (bps) 0 0 512 4800/9600 9600/19200 0 1 1024 2400/4800 4800/9600 9600/19200 1 0 2048 2400/4800 4800/9600 1 1 4096 2400/4800 4.5.3.2 control register b5, b4: fstol - frame sync tolerance to inexact matches these two bits have no effect in transmit mode. in receive mode, they define the maximum number of mismatches allowed during a search for the frame sync pattern: b5 b4 mismatches allowed 0 0 0 0 1 2 1 0 4 1 1 6 note: a single 'mismatch' is defined as the difference between two adjacent symbol levels, thus if the symbol '+1' were expected, then received symbol values of '+3' and '-1' would count as 1 mismatch, a received symbol value of '-3' would count as 2 mismatches. a setting of '4 mismatches' is recommended for normal use.
4-level fsk modem data pump page 23 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. 4.5.3.3 control register b3, b2: levres - level measurement modes these two bits have no effect in transmit mode. in receive mode they set the 'normal' or 'steady state' operating mode of the rx signal amplitude and dc offset measuring and tracking circuits. these circuits analyze the rx signal envelope and charge the doc1 and doc2 capacitors to 'store' signal maximum and minimum references that are used in the data reception process. this setting is temporarily overridden during the automatic sequencing triggered by an aqlev command when level is initially being acquired as described in section 5.3. b3 b2 mode 0 0 hold 0 1 level track 1 0 lossy peak detect 1 1 slow peak detect in normal use the levres bits should be set to '0 1' (level track). the other modes are intended for special purposes, for device testing, or are invoked automatically during an aqlev sequence. in 'slow peak detect' modes, the positive and negative excursions of the received signal (after filtering) are measured by peak rectifiers driving the doc1 and doc2 capacitors to establish the amplitude of the signal and any dc offset with regards to v bias . this mode provides good overall performance, particularly when acquiring level information at the start of a received message, but does not work as well with certain long sequences of repeated data byte values. it is also susceptible to large amplitude noise spikes, which can be caused by deep fades. the 'lossy peak detect' mode is similar to 'slow peak detect' but the capacitor discharge time constant is much shorter so this mode is not suitable for normal data reception and is only used within part of the automatic aqlev acquisition sequence. in 'level track' mode the doc capacitor voltages are slowly adjusted by the MX919B in such a way as to minimize the average errors seen in the received signal. this mode provides the best overall performance, being much more accurate than 'slow peak detect' when receiving large amplitude noise spikes on long sequences of repeated data byte values. it does, however, depend on the measured levels and timing being approximately correct. if either of these is significantly wrong then the correction algorithm used by the 'level track' mode can actually drive the voltages on the doc capacitors away from their optimum levels. for this reason, the automatic aqlev acquisition sequence (see section 5.3) forces the level measuring circuits into 'slow peak detect' mode until a frame sync pattern has been found. 4.5.3.4 control register b1, b0: pllbw - phase-locked loop bandwidth modes these two bits have no effect in transmit mode. in receive mode, they set the 'normal' or 'steady state' bandwidth of the rx clock extraction phase locked loop circuit. the pll circuit synchronizes itself with the rx signal to develop a local clock signal used in the data clock recovery process. this setting will be temporarily overridden during the automatic sequencing of an aqsc command when rx clock extraction circuits are initially being trained as described in section 5.3. b1 b0 pll mode 0 0 hold 0 1 level track 1 0 lossy peak detect 1 1 slow peak detect the normal setting for the pllbw bits should be 'medium bandwidth' when the received symbol rate and the frequency of the receiving modem's crystal are both within 100ppm of nominal, except at the start of a symbol clock acquisition sequence (aqsc) when 'wide bandwidth' should be selected as described in section 5.3 if the received symbol rate and the crystal frequency are both within 20ppm of nominal then selection of the 'narrow bandwidth' setting will provide better performance especially through fades or noise bursts which may otherwise pull the pll away from its optimum timing. in this case however; it is recommended that the pllbw bits only be set to 'narrow bandwidth' after the modem has been running in 'medium bandwidth' mode for about 200 symbol times to ensure accurate lock has first been achieved.
4-level fsk modem data pump page 24 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. the 'hold' setting disables the feedback loop of the pll which continues to run at a rate determined only by the actual crystal frequency and the setting of the control register ckdiv bits, not the pll's operating frequency immediately prior to the 'hold' setting. 4.5.4 mode register the contents of this 8-bit write only register control the basic operating modes of the modem: 76543210 mode register irqen rxeye invsym set to '000' tx/rx psave 4.5.4.1 mode register b7: irqen - irq output enable when this bit is set to '1', the irq chip output pin is pulled low (v ss ) given the irq bit of the status register is a '1'. 4.5.4.2 mode register b6: invsym - invert symbols this bit controls the polarity of the transmitted and received symbol voltages. b6 symbol signal at txout signal at rxampout +3 above v bias below v bias 0 -3 below v bias above v bias +3 below v bias above v bias 1 -3 above v bias below v bias note: b6 must be normally set to the same value in tx and rx devices for successful operation. 4.5.4.3 mode register b5: rx tx/ - tx/rx mode setting this bit to '1' places the modem into the transmit mode, clearing it to '0' puts the modem into the receive mode. note: changing between receive and transmit modes will cancel any current task.
4-level fsk modem data pump page 25 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. 4.5.4.4 mode register b4: rxeye - show rx eye this bit should normally be set to '0'. setting it to '1' when the modem is in receive mode configures the modem for a special test mode, in which the input of the tx output buffer is connected to the rx symbol/clock extraction circuit at a point which carries the equalized receive signal. this may be monitored with an oscilloscope (at the txout pin itself), to assess the quality of the complete radio channel including the tx and rx modem filters, the tx modulator and the rx if filters, and fm demodulator. this mode is provided because observation of the direct discriminator output of a root raised cosine tx filtered signal (before rx equalization) is not very recognizable so it is generally not useful. the resulting eye diagram (for reasonably random data) should ideally be as shown in the following figure 14, with 4 distinct and equally spaced level crossing points. figure 14: ideal 'rxeye' signal note: a two-channel oscilloscope is needed for this testing. one channel of the oscilloscope should be placed on the signal path of interest, such as the tx output. if the rx eye diagram is to be viewed, set the ?rxeye? bit in the mode register to ?1? and connect the oscilloscope probe downstream of the external rc filter on the txout pin. (this mode register bit causes the MX919B to enter a special test mode whereby the rx output is placed on the txout pin. this mode is provided because observation of the direct discriminator output of a root raised cosine tx filtered signal is not very recognizable and is generally not useful.) the other oscilloscope channel should be used for triggering and should ideally be placed on the transmitting MX919B irq pin. this will allow the triggering to be synchronized with the completion of each transmitted data word. if this triggering location is not practical, use the receiving MX919B irq signal for triggering. the falling edge of the irq line should be used for triggering. the data stream used for this testing should have a reasonably random structure. 4.5.4.5 mode register b3: psave - powersave when this bit is a ?1?, the modem will be in a ?powersave? mode in which the internal filters, the rx symbol and clock extraction circuits, and the tx output buffer will be disabled. the txout pin will be connected to v bias through a high value internal resistance. the xtal clock oscillator, rx input amplifier and the c interface logic will continue to operate. setting the psave bit to ?0? restores power to all of the chip circuitry. note: the internal filters, and therefore the txout pin in transmit mode, will take approximately 20 symbol- times to settle after the psave bit has gone from ?1? to ?0?. 4.5.4.6 mode register b2, b1, b0 these bits should be set to '000'.
4-level fsk modem data pump page 26 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. 4.5.5 status register this register may be read by the c to determine the current state of the modem. 76543210 status register irq dibovf bfree reserved ibempty crcerr 4.5.5.1 status register b7: irq - interrupt request this bit is set to '1' by: the status register bfree bit going from '0' to '1', unless this is caused by a reset task or by a change to the mode register tx rx / or psave bits or the status register ibempty bit going from '0' to '1', unless this is caused by a reset task or by changing the mode register tx rx / or psave bits. or the status register dibovf bit going from '0' to '1'. the irq bit is cleared to '0' immediately after a read of the status register. if the irqen bit of the mode register is '1', then the chip irq output will be pulled low (v ss ) when the irq bit is set to '1', and will go high impedance when the status register is read. 4.5.5.2 status register b6: bfree - data block buffer free this bit reflects the availability of the data block buffer and is cleared to '0' when a task other than null or reset is written to the command register. in transmit mode, the bfree bit will be set to '1' (also setting the status register irq bit to '1') by the modem when the modem is ready for the c to write new data to the data block buffer and the next task to the command register. in receive mode, the bfree bit is set to '1' (also setting the status register irq bit to '1') by the modem when it has completed a task and any data associated with that task has been placed into the data block buffer. the c may then read that data and write the next task to the command register. the bfree bit is also set to '1' - but without setting the irq bit - by a reset task or when the mode register tx rx / or psave bits are changed. 4.5.5.3 status register b5: ibempty - interleave buffer empty in transmit mode, this bit will be set to '1' - also setting the irq bit - when less than two symbols remain in the interleave buffer. any transmit task written to the modem after this bit goes to '1' will be too late to avoid a gap in the transmit output signal. the bit is also set to '1' by a reset task or by a change of the mode register tx rx / or psave bits, but in these cases the irq bit will not be set. the bit is cleared to '0' within one symbol time after a task other than null or reset is written to the command register. note: when the modem is in transmit mode and the interleave buffer is empty, a mid-level (halfway between '+1' and '-1') signal will be sent to the rrc filter. in receive mode this bit will be '0'. 4.5.5.4 status register b4: dibovf - de-interleave buffer overflow in receive mode this bit will be set to '1' - also setting the irq bit - when a rhb, rilb or r4s task is written to the command register too late to allow continuous reception. the bit is cleared to '0' immediately after reading the status register, by writing a reset task to the command register or by changing the tx rx / or psave bits of the mode register. in transmit mode this bit will be '0'.
4-level fsk modem data pump page 27 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. 4.5.5.5 status register b3: crcerr - crc checksum error in receive mode, this bit will be updated at the end of a sfsh, rhb or rilb task to reflect the result of the receive crc check. '0' indicates that the crc was received correctly, '1' indicates an error. note: this bit should be ignored when an 'intermediate' block (which does not have an integral crc) is received. the bit is cleared to '0' by a reset task or by changing the tx rx / , or psave bits of the mode register. in transmit mode this bit is '0'. 4.5.5.6 status register b2, b1, b0 these bits are reserved for future use. 4.5.6 data quality register in receive mode, the MX919B continually measures the 'quality' of the received signal, by comparing the actual received waveform over the previous 64 symbol times against an internally generated 'ideal' 4-level fsk baseband signal. the result is placed into bits 3-7 of the data quality register for the c to read at any time, bits 0-2 being always set to '0'. figure 15 shows how the value (0-255) read from the data quality register varies with received signal-to-noise ratio: 7 5 9111315 0 50 100 150 200 250 dq s/n db (noise in 2 x symbol-rate bandwidth) figure 15: typical data quality reading vs s/n the data quality readings are only valid when the modem has successfully acquired signal level and timing lock for at least 64 symbol times. it is invalid when an aqsc or aqlev sequence is being performed or when the levres setting is 'lossy peak detect'. a low reading will be obtained if the pllbw bits are set to 'wide' or if the received signal waveform is distorted in any significant way. section 5.6 describes how monitoring the data quality reading can help improve the overall system performance in some applications. 4.6 crc, fec, and interleaving 4.6.1 cyclic redundancy codes 4.6.1.1 crc1 this is a sixteen-bit crc check code contained in bytes 10 and 11 of the header block, which provides error detection coverage for the header block of a message. it is calculated by the modem from the first 80 bits of the header block (bytes 0 to 9 inclusive) using the generator polynomial: x 16 + x 12 + x 5 + 1
4-level fsk modem data pump page 28 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. 4.6.1.2 crc2 this is a thirty-two-bit crc check code contained in bytes 8 to 11 of the 'last' block, which provides error detection coverage for the combined intermediate blocks and last block of a message. it is calculated by the modem from all of the data and pad bytes in the intermediate blocks and in the first 8 bytes of the last block using the generator polynomial: x 32 + x 26 + x 23 + x 22 + x 16 + x 12 + x 11 + x 10 + x 8 + x 7 + x 5 + x 4 + x 2 + x 1 + 1 note: in receive mode the crc2 checksum circuits are initialized on completion of any task other than null or rilb. in transmit mode the crc2 checksum circuits are initialized on completion of any task other than null, tib, or tlb. command register bit b5 (crc) allows the user to select between two different forms of the crc1 and crc2 checksums. when this bit is set to '0', the crc generators are initialized to 'all ones' for calculations such as ccitt x25 crc. when this bit is set to '1', the crc generators are initialized to 'all zeros'. 4.6.1.3 forward error correction in transmit mode, the MX919B uses a trellis encoder to translate the 96 bits (12 bytes) of a 'header', 'intermediate' or 'last' block into a 66-symbol (132 bits) sequence which includes fec information. in receive mode, the MX919B decodes the received 66 symbols of a block into 96 bits of binary data using a 'soft decision' viterbi algorithm to perform decoding and error correction. 4.6.1.4 interleaving the 66 symbols of a 'header', 'intermediate' or 'last' block are interleaved by the modem before transmission to provide protection against the effects of noise bursts and short fades. in receive mode, the MX919B de-interleaves the received symbols prior to decoding. 4.7 transmitted symbol shape bit 4 of the command register (tximp) selects the transmit baseband signal and the receive signal equalization as follows: if the tximp bit is '0', then the transmit baseband signal is generated by feeding full-symbol-time-width 4-level symbols into the rrc lowpass filter. the receive signal equalization is optimized for this type of signal. with this setting, the MX919B is compatible with the mx919a devices, another member of the mx919 device family. if the tximp bit is set to '1,' impulses, rather than full-symbol-time-width symbols are fed into the rrc filter when in tx mode, and the receive signal equalization is suitably adjusted in rx mode. 1 symbol time +3 tximp = 0 tximp = 1 -1 +1 -3 1 symbol time +3 -1 +1 -3 figure 16: input signal to rrc filter in tx mode for tximp = 0 and 1
4-level fsk modem data pump page 29 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. figure 17: tx signal eye tximp = 0 figure 18: tx signal eye tximp = 1 note: setting tximp to '1' affects the tx output signal level as shown in section 6.1.3 and the table below. tximp = 0 tximp = 1 nominal voltage difference between continuous ?+3? and continuous ?-3? symbol outputs 0.157v dd 0.157v dd nominal v p-p for continuous ?+3+3-3-3?? symbol pattern. 0.20v dd 0.22v dd
4-level fsk modem data pump page 30 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. 5. application 5.1 transmit frame example the operations needed to transmit a single frame consisting of symbol and frame sync sequences, and one each header, intermediate and last blocks are provided below: 1. ensure that the control register has been loaded with a suitable ckdiv value, that the irqen and t xrx / bits of the mode register are '1', the rxeye and psave bits are '0', and the invsym bit is set appropriately. 2. read the status register to ensure that the bfree bit is '1', then write 6 symbol sync bytes (a preamble) to the data block buffer and a t24s task to the command register. 3. wait for an interrupt from the modem, read the status register; the irq and bfree bits should be '1' and the ibempty bit should be '0'. 4. write 6 byte frame sync to the data block buffer and a t24s task to the command register. 5. wait for an interrupt from the modem, read the status register; the irq and bfree bits should be '1' and the ibempty bit should be '0'. 6. write 10 header block bytes to the data block buffer and a thb task to the command register. 7. wait for an interrupt from the modem, read the status register; the irq and bfree bits should be '1' and the ibempty bit should be '0'. 8. write 12 intermediate block bytes to the data block buffer and a tib task to the command register. 9. wait for an interrupt from the modem, read the status register; the irq and bfree bits should be '1' and the ibempty bit should be '0'. 10. write 8 last block bytes to the data block buffer and a tlb task to the command register. 11. wait for an interrupt from the modem, read the status register; the irq and bfree bits should be '1' and the ibempty bit should be '0'. 12. wait for another interrupt from the modem, read the status register; the irq, bfree and ibempty bits should be '1'. note: the final symbol of the frame will start to appear approximately 2 symbol times after the status register ibempty bit goes to '1'; a further 16 symbol times should be allowed for the symbol to pass completely through the rrc filter. figure 19 and figure 20 illustrate the host c routines needed to send a single frame consisting of symbol and frame sync patterns, a header block, and any number of intermediate blocks and one last block. it is assumed that the tx interrupt service routine figure 20 is called when the MX919B irq output line goes low.
4-level fsk modem data pump page 31 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. note: during this time the c may perform other functions, as the c variable 'state' is updated by the interrupt service routine disable c's MX919B tx interrupt service routine enable c's MX919B tx interrupt service routine set c variable 'state' to 0 set the mode register irqen bit to '1' set the mode register irqen bit to '0' read the status register write a reset task to the command register set c variable 'iblocks' to the number of intermediate blocks to be transmitted ensure that the control register has been loaded with a suitable ckdiv value write a t24s task to the command register write 6 bytes of symbol sync pattern to the data buffer ensure that the mode register irqen, psave and rxeye bits are '0', the tx/rx bit is '1', and the invsym bit is set appropriately ye s ye s ye s no no no end with error end start 'state' < 5 ? bfree bit = 1 ? 'state' = 5 ? figure 19: transmit frame example flowchart, main program notes 1. the reset command in figure 19 and the practice of disabling the MX919B?s irq output when not needed are not essential but can eliminate problems during debugging and if errors occur in operation 2. the crc and tximp bits should be set appropriately every time a byte is written to the command register.
4-level fsk modem data pump page 32 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. . ye s no return return 'state' = 3 ? set c variable 'state' to 9 return ( error ) e decrement c variable 'iblocks' write 8 last block data bytes to the data buffer then write a tlb task to the command register write 6 byte frame sync pattern to the data buffer then write a t24s task to the command register write 10 header block data bytes to the data buffer then write a thb task to the command register increment c variable 'state' read status register ye s ye s no no no ye s no start ( line goes low ) irq return ( not MX919B irq ) irq bit = 1 ? bfree bit = 1 ? 'state' = 4 ? 'iblocks' = 0 ? 'state' = 1 ? ye s ibempty bit = 1 ? ye s no 'state' = 2 ? no ye s 'state' = 0 ? ibempty bit = 1 ? write 12 intermediate block data bytes to the data buffer then write a tib task to the command register e no e ye s e e no no ye s ye s value of c variable 'state' on entry to irq routine and corresponding MX919B's actions: 0: symbol sync pattern being transmitted, load frame sync pattern & t24s task. 1: frame sync pattern being transmitted, load header block bytes and thb task. 2: header or intermmediate block being transmitted, load intermediate or last block bytes & tib or tlb task. 3: last block being transmitted, ignore this interrupt. 4: waiting for end of transmission, finish on interrupt with ibempty bit set. figure 20: tx interrupt service routine
4-level fsk modem data pump page 33 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. 5.2 receive frame example the operations needed to receive a single frame consisting of symbol and frame sync sequences and one each header, intermediate and last blocks are shown below; 1. ensure that the control register has been loaded with suitable ckdiv, fstol, levres and pllbw values, and that the irqen bit of the mode register is '1', the tx rx / psave, and rxeye bits are '0', and the invsym bit is set appropriately. 2. wait until the received carrier has been present for at least 8 symbol times (see section 5.3). 3. read the status register to ensure that the bfree bit is '1'. 4. write a byte containing a sfsh task and with the aqsc and aqlev bits set to '1' to the command register. 5. wait for an interrupt from the modem, read the status register; the irq and bfree bits should be '1' and the crcerr and dibovf bits should be '0'. 6. check that the crcerr bit of the status register is '0' and read 10 header block bytes from the data block buffer. 7. write a rilb task to the command register. 8. wait for an interrupt from the modem, read the status register; the irq and bfree bits should be '1' and the dibovf bit '0'. 9. read 12 intermediate block bytes from the data block buffer. 10. write a rilb task to the command register. 11. wait for an interrupt from the modem, read the status register; the irq and bfree bits should be '1' and the dibovf bit '0'. 12. check that the crcerr bit of the status register is '0' and read the 8 last block bytes from data buffer. figure 21 and figure 22 illustrate the host c routines needed to receive a single frame consisting of symbol and frame sync patterns, a header block, any number of intermediate blocks and one last block. it is assumed that the rx interrupt service routine figure 22 is called when the MX919B?s irq output goes low.
4-level fsk modem data pump page 34 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. note: during this time the c may perform other functions, as the c variable 'state' is updated by the interrupt service routine disable c's MX919B rx interrupt service routine enable c's MX919B rx interrupt service routine set c variable 'state' to 0 set the mode register irqen bit to '1' set the mode register irqen bit to '0' read the status register write a reset task to the command register ensure that the control register has been loaded with suitable ckdiv, fstol, levres and pllbw values wait until the received carrier has been present for at least 8 symbol times write a sfsh task to the command register with the aqsc and aqlev bits set to '1' ensure that the mode register irqen, psave, rxeye and tx/rx bits are '0', and the invsym bit is set appropriately ye s ye s ye s no no no end with error end start 'state' < 3 ? bfree bit = 1 ? 'state' = 3 ? figure 21: receive frame example flowchart, main program notes 1. the reset command in figure 21 and the practice of disabling the MX919B?s irq output when not needed are not essential but can eliminate problems during debugging and if errors occur in operation. 2. the crc and tximp bits should be set appropriately every time a byte is written to the command register.
4-level fsk modem data pump page 35 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. value of c variable 'state' on entry to irq routine and corresponding MX919B's actions: 0 : frame sync has been recognized and header block received, read out data and load rilb task. 1 : intermediate block has been received, read out data and load rilb task. 2 : last block has been received, read out data and finish. read status register ye s ye s ye s ye s ye s ye s ye s ye s no no no no no no no no start ( line goes low ) irq return return return ( not MX919B irq ) irq bit = 1 ? bfree bit = 1 ? dibovf bit = 0 ? 'state' = 0 ? 'state' = 1 ? crcerr bit = 0 ? 'iblocks' = 0 ? 'state' = 2 ? e e e set c variable 'state' to 9 set c variable 'state' to 2 decrement c variable 'iblocks' return ( error ) e read 10 header block bytes from the data buffer then write a rilb task to the command register see note below read 12 intermediate block bytes from the data buffer then write a rilb task to the command register set c variable 'iblocks' to the number of intermediate blocks to be received read 8 last block data bytes from the data buffer. increment c variable 'state' figure 22: rx interrupt service routine note: this routine assumes that the number of intermediate blocks in the frame is contained within the header block data.
4-level fsk modem data pump page 36 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. 5.3 clock extraction and level measurement systems 5.3.1 supported types of systems the MX919B is intended for use in systems where: 1. the symbol sync pattern is transmitted immediately on start-up of the transmitter, before the first frame sync pattern (see figure 23). 2. a terminal may remain powered up indefinitely, transmitting concatenated frames with or without intervening symbol sync patterns (each frame having a frame sync pattern and symbol timing being maintained from one frame to the next). 3. a receiving modem may be switched onto a channel before the distant transmitter has started up, or may be switched onto a channel where the transmitting station is already sending concatenated frames 5.3.2 clock and level acquisition procedures with rf carrier detect when the receiving modem is enabled or switched onto a channel, it needs to establish the received symbol levels, clock timing, and look for a frame sync pattern in the incoming signal. this is best done by the following procedure: 1. ensure that the control register's pllbw bits are set to 'wide' and the levres bits to 'track'. 2. wait until a received carrier has been present for 8 symbol times. this 8-symbol delay gives time for the received signal to propagate through the modem's rrc filter. an 'rf received 8 symbol times' qualifying function can be included in a radio's carrier detect circuitry to take this into account. 3. write a sfs or sfsh task to the command register with the aqsc and the aqlev bits set to '1'. 4. when the modem interrupts to signal that it has recognized a frame sync pattern (or completed the sfsh task) then change the pllbw bits to 'medium'. once the receiving modem has achieved level and symbol timing synchronization with a particular channel - as evidenced by recognition of a frame sync pattern - then subsequent concatenated frames can be read by simply issuing sfs or sfsh tasks at appropriate times, keeping the asqsc and aqlev bits at zero, and the pllbw and levres bits at their current 'medium' and 'track' settings, respectively. rx signal from fm discriminator to modem noise frame sync rest of frame set aqsc and aqlev bits to start acquisition sequences level measurement and clock extraction circuits increasing accuracy and lengthening response times 8-symbol delay determined by external circuit such as rf carrier detect symbol sync figure 23: acquisition sequence timing 5.3.3 clock and level acquisition procedure without rf carrier detect it is also possible to use the modem in a system where there is an indeterminate delay between the rf transmitter turn on time and the transmission moment of the symbol sync pattern, or where a receive carrier detect signal is not available to the controlling c, or where the transmitting terminal can send separate unsynchronized frames. in these cases, each frame should be preceded by, a symbol sync pattern which should be extended to about 100 symbols and the procedure provided in section 5.3.2. used.
4-level fsk modem data pump page 37 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. 5.3.4 automatic acquisition functions setting the aqsc and aqlev bits to '1' triggers the modem's automatic symbol clock extraction and level measurement acquisition sequences, which are designed to measure the received symbol timing, amplitude, and dc offset as quickly as possible before switching to accurate - but slower - measurement modes. these acquisition sequences act very quickly if triggered at the start of a received symbol sync pattern (as shown in figure 23), but will still function correctly, although more slowly, if started any time during a normal frame as when the receiver is switched onto a channel where the transmitter is operating continuously. the automatic aqlev level measurement acquisition sequence starts with the level measurement circuits being put into 'clamp' mode for one symbol time to quickly set the voltages on the doc pins to approximately correct levels. the level measurement circuits are then automatically set to 'lossy peak detect' mode for 15 symbol times, then 'slow peak detect' until a received frame sync pattern is recognized, after which the automatic sequence ends and the level measurement circuit mode reverts to the mode set by the levres bits of the control register (normally 'level track'). the peak detectors used in both 'slow' and 'lossy peak detect' modes include additional low pass filtering of the received signal which greatly reduces the effect of pattern noise on the reference voltages held on the external doc capacitors, but means that pairs of '+3' (and '-3') symbols need to be received to establish the correct levels. two pairs of '+3' and two pairs of '-3' symbols received after the start of an aqlev sequence are sufficient to correctly set the levels on the doc capacitors. the automatic aqsc symbol clock acquisition sequence sets the pll to 'extra wide bandwidth' mode for 16 symbol times (this mode is not one of those which can be selected by the control register pllbw bits) then changes to 'wide' bandwidth. after 45 symbol times, the pll mode will revert to that set by the control register pllbw bits. 5.4 ac coupling for a practical circuit, ac coupling between the modem's transmit output to the frequency modulator and between the receiver's frequency discriminator and the receive input of the modem may be desired. there are, however, two issues which deserve consideration: 1. ac coupling of the signal degrades the bit error rate performance of the modem. the following graph illustrates the typical bit error rates at 4800 symbols/sec (9600bps) without fec for reasonably random data with differing degrees of ac coupling: 1.e-04 1.e-03 1.e-02 1.e-01 4567891011121314 s/n db (noise in 20 to 9600hz band) ber tx 5hz, rxdc tx 5hz, rx10hz tx & rx dc coupled tx 5hz, rx5hz figure 24: effect of ac coupling on ber (without fec)
4-level fsk modem data pump page 38 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. 2. any ac coupling at the receive input will transform any step in the voltage at the discriminator output to a slowly decaying pulse which can confuse the modem's level measuring circuits. as illustrated in figure 25 below, the time for this step to decay to 37% of its original value is 'rc' where: network) rc the of frequency off - cut (3db 2 1 = rc which is 32ms, or 153 symbol times at 4800 symbols/sec (9600bps) for a 5hz network. 37% t = rc 100% step input to rc circuit output of rc circuit figure 25: decay time - ac coupling in general, it is best to dc couple the receiver discriminator to the modem and ensure that any ac coupling to the transmitter's frequency modulator has a -3db cut-off frequency of no higher than 5hz for 4800 symbols/sec (9600bps).
4-level fsk modem data pump page 39 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. 5.5 radio performance the maximum data rate that can be transmitted over a radio channel using these modems depends on: ? rf channel spacing. ? allowable adjacent channel interference. ? symbol rate. ? peak carrier deviation (modulation index). ? tx and rx reference oscillator accuracy. ? modulator and demodulator linearity. ? receiver if filter frequency and phase characteristics. ? use of error correction techniques. ? acceptable error rate. as a guide, 4800 symbols/sec (9600bps) can be achieved (subject to local regulatory requirements) over a system with 12.5khz channel spacing if the transmitter frequency deviation is set to 2.5khz peak for a repetitive ' +3 +3 -3 -3 ... ' pattern and the maximum difference between transmitter and receiver 'carrier' frequencies is less than 2400hz. the modulation scheme employed by these modems is designed to achieve high data throughput by exploiting as much as possible of the rf channel bandwidth. however; this does place constraints on the performance of the radio. particular attention must be paid to: ? linearity, frequency, and phase response of the tx frequency modulator. for a 4800 symbols/sec (9600bps) system, the frequency response should be within 2db over the range 3hz to 5khz, relative to 2400hz. ? the bandwidth and phase response of the receiver's if filters. ? accuracy of the tx and rx reference oscillators, as any difference will shift the received signal towards the skirts of the if filter response and cause a dc offset at the discriminator output. viewing the equalized received signal eye diagram, using the mode register rxeye function, provides a good indication of the overall rf transmitter/receiver performance. rx circuits tx circuits d0 - d7 a0 - a1 cs rd wr irq d0 - d7 a0 - a1 cs rd wr irq txout signal and dc level adjustment signal level adjustment rxin rxampout rx frequency discriminator tx frequency modulator dc level adjustment MX919B modem c c figure 26: typical connections between radio and MX919B
4-level fsk modem data pump page 40 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. 5.6 received signal quality monitor in applications where the modem has to monitor a long transmission containing a number of concatenated frames, it is recommended that the controlling software include a function which regularly checks that the modem is still receiving a good data signal and triggers a re-acquisition and possibly changes to another channel if a problem is encountered. this strategy has been shown to improve the system's overall performance in situation where fading, large noise bursts, severe co-channel interference, or loss of the received signal for long periods are likely to occur. such a function can be simply implemented by regularly reading the data quality register, which gives a measure of the overall quality of the received signal, as well as the current effectiveness of the modem's clock extraction and level measurement systems. experience has shown that if two consecutive dq readings are both less than 50 then it is worth instructing the MX919B to re-acquire the received signal levels and timing once it has been established that the received carrier level is satisfactory. re-acquisition should follow the procedure given in section 5.3. the intervals between data quality readings is not critical, but should be a minimum of 64 symbol times except for the first reading made after triggering the aqsc and aqlev automatic acquisition sequences, which should be delayed for about 250 symbol times. a suitable algorithm is shown in figure 27. note: times are symbol times. reset timer. set c variable 'last_dq' to 99 read dq register into c variable 'this_dq' copy 'this_dq' to 'last dq'. reset timer. ye s ye s ye s no no no no aqsc/aqlev task issued re acquire timer > 250 ? timer > 64 ? 'this_dq' < 50 ? 'last_dq' < 50 ? figure 27: received signal quality monitor flowchart
4-level fsk modem data pump page 41 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. 6. performance specification 6.1 electrical performance 6.1.1 absolute maximum ratings exceeding these maximum ratings can result in damage to the device. general min. max. units supply (v dd ? v ss ) -0.3 7.0 v voltage on any pin to v ss -0.3 v dd + 0.3 v current v dd -30 30 ma v ss -30 30 ma any other pin -20 20 ma dw, lh, p package total allowable power dissipation at t amb = 25c 800 mw derating above 25c 13 mw/c above 25c storage temperature -55 125 c operating temperature -40 85 c ds package total allowable power dissipation at t amb = 25c 550 mw derating above 25c 9 mw/c above 25c storage temperature -55 125 c operating temperature -40 85 c 6.1.2 operating limits correct operation of the device outside these limits is not implied. notes min. max. units supply (v dd ? v ss ) 3.0 5.5 v symbol rate 2400 9600 symbols/sec temperature -40 85 c xtal frequency 1.0 10.0 mhz
4-level fsk modem data pump page 42 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. 6.1.3 operating characteristics for the following conditions unless otherwise specified: xtal frequency = 4.9152mhz, symbol rate = 4800 symbols/sec, noise bandwidth = 0 to 9600hz, v dd = 5.0v @ t amb = 25c notes min. typ. max. units dc parameters i dd 1 4.0 10.0 ma i dd (v dd = 3.3v) 1 2.5 6.3 ma i dd (powersave mode) 1 1.5 ma i dd (powersave mode, v dd = 3.3v) 1 0.6 ma ac parameters tx output txout impedance 2 1.0 2.5 k ? signal level tximp = 0 3 0.8 1.0 1.2 v p-p tximp = 1 3 0.88 1.1 1.32 v p-p output dc offset with respect to v dd /2 4 -0.25 0.25 v rx input rxin impedance (at 100hz) 10.0 m ? rxin amp voltage gain (input = 1mv rms at 100hz) 300 v/v input signal level 5 0.7 1.0 1.3 v p-p dc offset with respect to v dd /2 5 -0.5 0.5 v xtal/clock input ?high? pulse width 6 40 ns ?low? pulse width 6 40 ns input impedance (at 100hz) 10.0 m ? inverter gain (input = 1mv rms at 100hz) 20 db c interface input logic ?1? level 7,8 70% v dd input logic ?0? level 7,8 30% v dd input leakage current (v in = 0 to v dd ) 7,8 -5.0 5.0 a input capacitance 7,8 10.0 pf output logic ?1? level (i oh = 120a) 8 92% v dd output logic ?0? level (i ol = 360a) 8,9 8% v dd ?off? state leakage current (v out = v dd ) 9 10 a 6.1.3.1 operating characteristics notes: 1. not including any current drawn from the modem pins by external circuitry other than the xtal oscillator. 2. small signal impedance. 3. measured after the external rc filter (r4/c5) for a "+3 +3 -3 -3...." symbol sequence, (tx output level is proportional to v dd ). 4. measured at the txout pin with the modem in the tx idle mode. 5. for optimum performance, measured at rxampout pin, for a "...+3 +3 -3 -3..." symbol sequence, tximp = 0 or 1, the optimum level and dc offset values are proportional to v dd . 6. timing for an external input to the xtal/clock pin. 7. wr , rd , cs , a0 and a1 pins. 8. d0 - d7 pins. 9. irq pin.
4-level fsk modem data pump page 43 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. 6.1.4 timing c parallel interface timings (see figure 28 ) notes min. typ. max. units t acsl address valid to cs low time 0 ns t ah address hold time 0 ns t csh cs hold time 0 ns t cshi cs high time 1 6 clock cycles t csrwl cs to wr or rd low time 0 ns t dhr read data hold time 0 ns t dhw write data hold time 0 ns t dsw write data setup time 90 ns t rhcsl rd high to cs low time (write) 0 ns t racl read access time from cs low 2 175 ns t rarl read access time from rd low 2 145 ns t rl rd low time 200 ns t rx rd high to d0-d7 3 state time 50 ns t whcsl wr high to cs low time (read) 0 ns t wl wr low time 200 ns timing notes: 1. xtal/clock cycles at the xtal/clock pin. 2. with 30pf max to v ss on d0 - d7 pins.
4-level fsk modem data pump page 44 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. data d0 to d7 (1 byte) read cycle (data from modem) address valid data d0 to d7 (1 byte) t rl t dhr t rx data valid data valid write cycle (data to modem) t csrwl t rhcsl t dsw t dhw t whcsl t rarl t racl address a0 a1 , t ah t acsl t csrwl t wl t cshi t csh t ah t acsl t cshi t csh address valid cs wr rd address a0 a1 , cs wr rd figure 28: c parallel interface timings
4-level fsk modem data pump page 45 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. 6.1.5 typical bit error rate 1e-6 1e-5 1e-4 1e-3 1e-2 1e-1 8 9 10 11 12 13 14 15 16 s/n db (noise in 2 x symbol ratebandwidth) ber ber with fec ber without fec figure 29: typical bit error rate with and without fec measured under nominal working conditions, levres bits set to 'level track' or 'slow peak detect' and pllbw bits set to 'medium' or 'narrow' bandwidth, command register tximp bit set to '0' or '1' (same for tx and rx devices), with pseudo-random data. note: ) noise voltage voltage signal ( 20log as calculates n / s 10 where: signal voltage is the measured v rms of a random 4-level signal. noise voltage is the v rms of a flat gaussian noise signal having a bandwidth from a few hz to twice the symbol rate e.g. to 9600hz when measuring a 4800 symbol/sec (9600bps) system. both signals are measured at the same point in the test circuit.
4-level fsk modem data pump page 46 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. 6.2 packaging 0.597 (15.16) package tolerances a b c e h typ. max. min. dim. j p x w t y k l 0.105 (2.67) 0.093 (2.36) 0.419 (10.64) 45 7 0 10 0.050 (1.27) 0.046 (1.17) 0.613 (15.57) 0.299 (7.59) 0.050 (1.27) 0.016 (0.41) 0.390 (9.90) 0.020 (0.51) 0.003 (0.08) 0.009 (0.23) 0.0125 (0.32) 0.013 (0.33) 0.020 (0.51) 0.036 (0.91) 0.286 (7.26) z note : all dimensions in inches (mm.) angles are in degrees 5 5 pin 1 a b alternative pin location marking x p j y c h k e l t w z figure 30: 24-pin soic mechanical outline: order as part no. MX919Bdw note : all dimensions in inches (mm.) angles are in degrees package tolerances a b c e h typ. max. min. dim. j p x t y z l 0.079 (2.00) 0.066 (1.67) 0.312 (7.90) 0 7 4 8 9 10 0.037 (0.95) 0.328 (8.33) 0.213 (5.39) 0.026 (0.65) 0.022 (0.55) 0.301 (7.65) 0.008 (0.21) 0.002 (0.05) 0.005 (0.13) 0.009 (0.22) 0.010 (0.25) 0.015 (0.38) 0.318 (8.07) 0.205 (5.20) x c h p j y e z l t pin 1 pin 1 a b figure 31: 24-pin ssop mechanical outline: order as part no. MX919Bds
4-level fsk modem data pump page 47 of 47 MX919B preliminary information ?2001 mxcom, inc. www.mxcom.com tele: 800 638 5577 336 744 5050 fax: 336 744 5054 doc. # 20480170.003 4800 bethania station road, winston-salem, nc 27105-1201 usa all trademarks and service marks are held by their respective comp anies. package tolerances note : all dimensions in inches (mm.) angles are in degrees a b c d e h p f g typ. max. min. dim. k j w t y 0.435 (11.05) 0.435 (11.05) 0.051 (1.30) 0.009 (0.22) 6 30 0.409 (10.40) 0.409 (10.40) 0.146 (3.70) 0.417 (10.60) 0.417 (10.60) 0.049 (1.24) 0.006 (0.152) 0.250 (6.35) 0.250 (6.35) 0.023 (0.58) 0.047 (1.19) 0.022 (0.55) 0.018 (0.45) 0.380 (9.61) 0.380 (9.61) 0.128 (3.25) 0.048 (1.22) 45 f g p a d b e pin 1 w c j k y w h t figure 32: 24-pin plcc mechanical outline : order as part no. MX919Blh note : all dimensions in inches (mm.) angles are in degrees package tolerances a b c e e1 h typ. max. min. dim. j j1 p y t k l 0.220 (5.59) 0.555 (14.04) 0.670 (17.02) 7 0.160 (4.05) 1.270 (32.26) 0.151 (3.84) 0.100 (2.54) 0.121 (3.07) 0.600 (15.24) 0.590 (14.99) 0.625 (15.88) 0.015 (0.38) 0.045 (1.14) 0.008 (0.20) 0.015 (0.38) 0.015 (0.38) 0.023 (0.58) 0.040 (1.02) 0.065 (1.65) 0.066 (1.67) 0.074 (1.88) 1.200 (30.48) 0.500 (12.70) h k l j1 j p c b a pin1 t e e1 y figure 33: 24-pin pdip mechanical outline: order as part no. MX919Bp


▲Up To Search▲   

 
Price & Availability of MX919B

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X